import { Model } from '/@/api/model/baseModel';

export interface MenuReq {
  id?: string;
  systemId?: string;
  parentId?: string;
  menuTitle?: string;
  menuCode?: string;
  icon?: string;
  type?: number;
  routerPath?: string;
  routerName?: string;
  componentPath?: string;
  redirect?: string;
  sort?: number;
  hideMenuId?: number;
  hideTabId?: number;
  hideBreadcrumbId?: number;
  hideChildrenInMenuId?: number;
  keepAliveId?: number;
}

export interface MenuResp extends Model {
  id?: string;
  systemId?: string;
  parentId?: string;
  menuTitle?: string;
  menuCode?: string;
  icon?: string;
  type?: number;
  routerPath?: string;
  routerName?: string;
  componentPath?: string;
  redirect?: string;
  sort?: number;
  hideMenuId?: number;
  hideTabId?: number;
  hideBreadcrumbId?: number;
  hideChildrenInMenuId?: number;
  keepAliveId?: number;
  children?: MenuResp[];
  checked?: boolean;
}
